 <!DOCTYPE html>
<html>

<head>
    <title>诊断登记</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chorme=1">
    <meta name="renderer" content="webkit">
    <script src="../js/boot.js" type="text/javascript"></script>
    <script src="../js/swfupload.js" type="text/javascript"></script>
    <script src="../js/national.js"></script>
    <script src="../js/timedata.js"></script>
    <link rel="stylesheet" href="../css/ZDXXGL.css" type="text/css" />
</head>
<body>
<div class="topstate">
    <div class="topCarousel">
        <div class="Carouselicon">
            <div class="Carouseldiv">1.患者信息</div>
            <div>2.孕期转诊信息</div>
            <div>3.孕检信息</div>
        </div>
    </div>
    <!-- <button class="testclick mini-buttom">下一步</button> -->
</div>
<form id="updatezdxx">
    <div class="bottoncon">

        <div class="bottoncontent1">
            <div>
                <div class="bottontitle">
                    <span>基本信息</span>
                </div>
                <div>
                    <table>
                        <tr>
                            <td>患者姓名:</td>
                            <td><input class="mini-textbox" name="tblDiacrisisInfo.patientName" id="patientName" required="true" /></td>
                            <td>年龄:</td>
                            <td><input class="mini-textbox" vtype="float" name="tblDiacrisisInfo.patientAge" id="patientAge"/></td>
                            <td>学历:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_EDU" showNullItem="true" name="tblDiacrisisInfo.patientEduId"/> </td>
                            <td>职业:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_OCCUPATION" showNullItem="true"  name="tblDiacrisisInfo.patientOccupationId" /></td>
                            <td>民族:</td>
                            <td><input id="mingzuid" class="mini-combobox" style="width:150px;" textField="name" valueField="id"  emptyText="请选择"  name="tblDiacrisisInfo.patientRaceId" showNullItem="true"/>
                            </td>
                        </tr>
                        <tr>
                            <td>身份证号:</td>
                            <td><input class="mini-textbox"  name="tblDiacrisisInfo.patientCardId" id="patientCardId" onvalidation="onIDCardsValidation" required="true"/></td>
                            <td>配偶姓名:</td>
                            <td><input class="mini-textbox"  name="tblDiacrisisInfo.spouseName" /> </td>
                            <td>配偶身份证号:</td>
                            <td><input class="mini-textbox"  name="tblDiacrisisInfo.spouseCardId" id="spouseCardId" onvalidation="onIDCardsValidation" /></td>
                            <td>配偶年龄:</td>
                            <td><input class="mini-textbox"  vtype="float"  name="tblDiacrisisInfo.spouseAge" /></td>
                            <td>配偶学历:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_EDU" showNullItem="true"  name="tblDiacrisisInfo.spouseEduId" /> </td>
                        </tr>
                        <tr>
                            <td>配偶职业:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_OCCUPATION" showNullItem="true"  name="tblDiacrisisInfo.spouseOccupationId" /> </td>
                            <td>居住环境:</td>
                            <td><input class="mini-combobox txk-dict"  id="jzhjselect" multiSelect='true'  style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_LIVE" showNullItem="true" name="patientlive" /> </td>
                            <td>卡号:</td>
                            <td><input class="mini-textbox" name="diacrisisCard[0].cardNo" id="cardNo" required="true"/></td>
                            <td>卡类型:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" id="cardTypeId" emptyText="请选择" dict="CQ_BASE_CARD_TYPE"  required="true"  name="diacrisisCard[0].cardTypeId"
                            /> </td>
                            <td>宗教信仰:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_RELIGION" showNullItem="true"  name="tblDiacrisisInfo.patientReligionId" /></td>
                        </tr>
                        <tr>
                            <td>孕妇身高(M):</td>
                            <td><input class="mini-textbox" id="patientHeight" vtype="float" name="tblDiacrisisInfo.patientHeight" /></td>
                            <td>孕前体重(KG):</td>
                            <td><input class="mini-textbox" id="patientWeight" vtype="float" name="tblDiacrisisInfo.patientWeight" /></td>
                            <td>孕前BMI:</td>
                            <td><input class="mini-textbox" id="patientBmi" readonly name="tblDiacrisisInfo.patientBmi"  /></td>
                        </tr>
                    </table>
                </div>
            </div>
            <div>
                <div class="bottontitle">
                    <span>现存孩情况</span>
                </div>
                <div class="addxchtab">
                    +
                </div>
                <div class="xchlist">
                    <div class="xchxx">
                        <div class="dropschtab" onclick="dropschtab(this)">X</div>
                        <table>
                            <tr>
                                <th>性别：</th>
                                <td><input name="gender" class="mini-radiobuttonlist" data="[{id: 'm', text: '男'}, {id: 'f', text: '女'}]" /></td>
                            </tr>
                            <tr>
                                <th>年龄：</th>
                                <td><input  vtype="float"  class="mini-textbox" name="childAge" />年<input  vtype="float"  class="mini-textbox" name="childAgeMonth" />月</td>
                            </tr>
                            <tr>
                                <th>备注：</th>
                                <td><textarea style="width: 80%;" class="mini-textarea" name="beizhu" cols="30" rows="5"></textarea></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="bottoncontent2" hidden>
            <div>
                <div class="bottontitle">
                    <span>孕期情况</span>
                </div>
                <div>
                    <table>
                        <tr>
                            <td>登记时间:</td>
                            <td><input name="tblDiacrisisInfo.recordTime" id="recordTime" class="mini-datepicker" allowInput="false" /></td>
                            <td>末次月经:</td>
                            <td><input name="tblDiacrisisInfo.lastMenses" id="lastMenses" class="mini-datepicker" allowInput="false" /></td>
                            <td>预产期:</td>
                            <td><input class="mini-datepicker" id="expectedDate" readonly name="tblDiacrisisInfo.expectedDate" allowInput="false"/></td>
                        </tr>
                        <tr>
                            <td>孕产史:</td>
                            <td>G<input class="mini-textbox"  vtype="float;maxLength:2"   width="40px" name="tblDiacrisisInfo.gestCount" />P<input class="mini-textbox"  vtype="float;maxLength:2"   width="40px" name="tblDiacrisisInfo.prodCount" />A<input  vtype="float;maxLength:2"    class="mini-textbox" width="40px" name="tblDiacrisisInfo.aboCount"
                            /></td>
                            <td>受孕方式:</td>
                            <td><input class="mini-combobox txk-dict"  style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_IMPG_TYPE" showNullItem="true"  name="tblDiacrisisInfo.impgTypeId" /></td>
                            <td>孕龄:</td>
                            <td><input  vtype="float"  allowInput="false" class="mini-textbox" width="60px" id="gestWeeks" name="tblDiacrisisInfo.gestWeeks" />W<input  vtype="float" allowInput="false" class="mini-textbox" width="60px" id="gestDays" name="tblDiacrisisInfo.gestDays" />D</td>
                        </tr>
                        <tr>
                            <td>不良孕产史:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" multiSelect='true'  textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_BAD_GEST" showNullItem="true"  name="tblDiacrisisInfo.badGestId" /></td>
                            <td>家族史:</td>
                            <td><input class="mini-textbox" name="tblDiacrisisInfo.familyMedical" /></td>
                            <td>特殊病史:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" multiSelect='true'  textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SPECIAL_MEDICAL" showNullItem="true"  name="tblDiacrisisInfo.specialMedicalId" /></td>

                        </tr>
                        <tr>
                            <td>孕期用药史:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" multiSelect='true'  textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_DRUG_USE" showNullItem="true"  name="tblDiacrisisInfo.drugUseId" /></td>
                            <td>备注:</td>
                            <td colspan="5"><textarea class="mini-textarea" style="width:511px;height:132px;" name="tblDiacrisisInfo.drugUseRemark"></textarea></td>
                        </tr>
                    </table>
                </div>
            </div>
            <div>
                <div class="bottontitle">
                    <span>转诊信息</span>
                </div>
                <div>
                    <table>
                        <tr>
                            <td>预约内容:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_BESPEAK_CONTENT" showNullItem="true"  name="tblDiacrisisInfo.bespeakId" /> </td>
                            <td>转诊地:</td>
                            <td>
                                <input id="deptCombo" class="mini-combobox" style="width:150px;" textField="name" valueField="id" onvaluechanged="onDeptChanged(this)" name="tblDiacrisisInfo.transferProvinceId" showNullItem="true" />
                                <input id="positionCombo" class="mini-combobox" style="width:150px;" textField="name" valueField="id" onvaluechanged="onpositionChange(this)" name="tblDiacrisisInfo.transferCityId" showNullItem="true" />
                                <input id="xianCombo" class="mini-combobox" style="width:150px;" textField="name" valueField="id" showNullItem="true" name="tblDiacrisisInfo.transferCountyId" />
                                <!-- <input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_OCCUPATION" showNullItem="true" allowInput="true" name="tblDiacrisisInfo.transferProvinceId" />
                                <input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_OCCUPATION" showNullItem="true" allowInput="true" name="tblDiacrisisInfo.transferCityId" />
                                <input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_OCCUPATION" showNullItem="true" allowInput="true" name="tblDiacrisisInfo.transferCountyId" />  -->
                            </td>
                        </tr>
                        <tr>
                            <td>家庭住址:</td>
                            <td colspan="8"><input class="mini-textbox" style="width: 500px" name="tblDiacrisisInfo.patientAddress" /></td>
                        </tr>
                        <tr>
                            <td>电话号码:</td>
                            <td colspan="5"><input vtype="rangeLength:11,11" class="mini-textbox" name="tblDiacrisisInfo.patientTel" /><input class="mini-textbox" vtype="rangeLength:11,11" name="tblDiacrisisInfo.spouseTel" /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="bottoncontent3" hidden>
            <div>
                <div class="bottontitle">
                    <span>孕检信息</span>
                </div>
                <div>
                    <table>
                        <tr>
                            <td>NIPT:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_NIPT_TYPE" showNullItem="true"  name="diacrisisAssay[0].niptTypeId" /> </td>
                            <td>唐筛:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_TANG_SCREEN" showNullItem="true"  name="diacrisisAssay[0].tangScreenId" /> </td>
                            <td>传染病筛查:</td>
                            <td><input class="mini-combobox txk-dict" multiSelect='true' style="width:150px;" id="infectionScreenId" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_INFECTION_SCREEN" showNullItem="true"  name="diacrisisAssay[0].infectionScreenId"
                            /> </td>
                            <td>血压:</td>
                            <td><input class="mini-textbox"  vtype="float;maxLength:3"   style="width:70px;" name="diacrisisAssay[0].sbp" />/<input style="width:70px;"  vtype="float;maxLength:3"   class="mini-textbox" name="diacrisisAssay[0].dbp" />mmHg</td>
                        </tr>
                        <tr>
                            <td>体温:</td>
                            <td><input class="mini-textbox"  vtype="float;maxLength:5"  name="diacrisisAssay[0].tpr" />℃</td>
                            <td>血型:</td>
                            <td><input class="mini-combobox txk-dict" style="width:70px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_BLOOD_TYPE" showNullItem="true"  name="diacrisisAssay[0].bloodTypeId" />
                                <input class="mini-combobox txk-dict" style="width:70px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_BT_NATURE" showNullItem="true"  name="diacrisisAssay[0].btNatureId" /> </td>
                            <td>不规则抗体:</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_ANTIBODY_NATURE" showNullItem="true"  name="diacrisisAssay[0].antibodyNatureId"
                            /> </td>
                        </tr>
                        <tr>
                            <td>备注:</td>
                            <td colspan="7"><textarea class="mini-textarea" style="width:511px;height:132px;" name="diacrisisAssay[0].assayRemark"></textarea></td>
                        </tr>
                        <tr>
                            <td>超声检查:</td>
                            <td colspan="3"><input class="mini-radiobuttonlist" id='changechaosheng' data="[{id:'1', text: '单胎'}, {id: '2', text: '多胎'}]" name="tblDiacrisisInfo.fetusesTypeId" /></td>
                        </tr>
                        <tr>
                            <td>上传资料:</td>
                            <td colspan="3"> <input type="file" id="thisnibaba" name="diacrisisFile" multiple /></td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="bottonbuttom">
        <a class="mini-button backClick" onclick="onclick1">上一步</a>
        <a class="mini-button nextClick" onclick="onclick2">下一步</a>
        <a class="mini-button submitClick" onclick="onclick3">完成</a>
        <!---<a class="mini-button exportClick" style="display: none" onclick="exportThis">导出</a>-->
        <a class="mini-button changeclick" id="ZFAndHF" onclick="deletethis(this)">作废</a>
        <a class="mini-button selectClick" onclick="onclick4">病例查询</a>
    </div>
</form>
<div class="zdmenu">
    <div class="zdmenubuttom">
        <img src="../img/hide.png">
    </div>
    <div class="rightmenu">
        <div>
            <div class="rightselect">
                <input class="thisrightselect" placeholder="身份证/卡号/姓名" oninput="changeselect()" />
                <label class="zuofeiclass"><input type="checkbox" class="zuofeicheck" value="" onchange="changeselect()" style="line-height: 30px;">作废</label>
            </div>
            <div class="rightuserconten">
                <div class="XYuserconten">
                    <div class="righttitle">新入挂号</div>
                    <div class="xinruguahao">
                    </div>
                </div>
                <div class="LSuserconten">
                    <div class="righttitle">历史挂号</div>
                    <div class="lishiguahao" hidden>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<form id="dantaiform">
    <div class="dantaidiv" style="display: none;">
        <div>
            <div class="dantaititle">
                <div>单胎</div>
                <div class="closedantaidiv" onclick="closedantai1()">X</div>
            </div>
            <div class="dantaicontent">
                <table>
                    <tr>
                        <td>日期</td>
                        <td><input class="mini-textbox"  style="display: none;" name="fetusId" /><input class="mini-datepicker" name="inspectTime" allowInput="false"/></td>
                        <td>孕周</td>
                        <td><input class="mini-textbox" vtype="int" name="gestWeeks" width="60px" />W<input class="mini-textbox"width="60px" vtype="int" name="gestDays" />D</td>
                        <td>检查医院</td>
                        <td><input class="mini-textbox" name="inspectionHospital" /></td>
                    </tr>
                    <tr>
                        <td>NT/CRL(cm)</td>
                        <td><input class="mini-textbox ntcrtext" vtype="float" name="nt" />/<input name="crl" vtype="float" class="mini-textbox ntcrtext" /></td>
                        <td>鼻骨</td>
                        <td><input class="mini-radiobuttonlist" name="isNasal" data="[{id: 1, text: '有'}, {id: 2, text: '无'}]" /></td>
                        <td>胎盘位置</td>
                        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="siteId" /> </td>
                    </tr>
                    <tr>
                        <td>B超异常</td>
                        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="bAbnormalId" /> </td>
                        <td>备注</td>
                        <td colspan="4"><input name="fetusRemark" class="mini-textbox" /></td>
                    </tr>
                </table>
                <div id="dantaitabs" class="mini-tabs" activeIndex="0" style="width:100%;min-height:150px;" buttons="#tabsButtons" buttonsAlign="right" plain="false">
                    <div title="第1次检查">
                        <table style="width: 100%;">
                            <tr>
                                <th>日期</th>
                                <td><input class="mini-datepicker" name="fetusDetail[0].inspectionTime" allowInput="false"/></td>
                                <th>孕周</th>
                                <td><input class="mini-textbox" name="fetusDetail[0].gestWeeks" vtype="float" width="60px" />W<input class="mini-textbox" vtype="float" name="fetusDetail[0].gestDays" width="60px" />D</td>
                                <th>检查医院</th>
                                <td><input class="mini-textbox" name="fetusDetail[0].inspectionHospital" /></td>
                            </tr>
                            <tr>
                                <th>BPD</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].bpd" />mm</td>
                                <th>EFW</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].efw" />g</td>
                                <th>HC</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].crl" />mm</td>
                            </tr>
                            <tr>
                                <th>AC</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].ac" />mm</td>
                                <th>AFV</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].afv" />mm</td>
                                <th>FL</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].fl" />mm</td>
                            </tr>
                            <tr>
                                <th>血流</th>
                                <td><input class="mini-textbox" vtype="float" name="fetusDetail[0].bloodFlow" /></td>
                                <th>胎盘位置</th>
                                <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail[0].siteId" /> </td>
                                <th>B超异常</th>
                                <td><input class="mini-combobox txk-dict" multiSelect='true' style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail[0].bAbnormalId" /> </td>
                            </tr>
                            <tr>
                                <th>备注</th>
                                <td colspan="5"><textarea class="mini-textarea" name="fetusDetail[0].fetusDetailRemark"></textarea></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div id="tabsButtons">
                    <a id="toggleBtn1" class="mini-button" iconCls="" onclick="inserttab()">新增</a>
                </div>

            </div>
            <div style="display: flex;justify-content: center;">
                <a class="mini-button ddtqueding" onclick="closedantai()">确定</a>
            </div>
        </div>
    </div>
</form>
<form id="duotaiform">
    <div class="duotaidiv" style="display: none;">
        <div>
            <div class="dantaititle">
                <div>多胎</div>
                <div class="closeduotaidiv" onclick="closeduotai1()">X</div>
            </div>
            <div class="dantaicontent">
                <div style="width: 100%;height: 120px;overflow: auto;">
                    <table>
                        <tr>
                            <td>日期</td>
                            <td><input class="mini-datepicker" name="fetusDetail.inspectTime" allowInput="false"/></td>
                            <td>孕周</td>
                            <td><input class="mini-textbox" vtype="int" name="fetusDetail.gestWeeks" width="60px" />W<input class="mini-textbox" vtype="int" name="fetusDetail.gestDays" width="60px" />D</td>
                            <td>检查医院</td>
                            <td><input class="mini-textbox" name="fetusDetail.inspectionHospital" /></td>
                            <td>绒毛膜性</td>
                            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_CHORIONICE_ID" showNullItem="true"  name="fetusDetail.chorionicId" /> </td>
                            <td><a class="mini-button" onclick="addduotai">增加</a></td>
                        </tr>
                        <tr>
                            <td colspan="9">
                                <table class="duotaishutab1" style="width: 100%;">
                                    <tr>
                                        <th>
                                            <input class="mini-textbox" name="fetusDetail.test[0].fetusId" style="display: none;" />
                                            <div class="biaozhulogo">f1</div>/CRL(cm)</th>
                                        <td><input class="mini-textbox ntcrtext" name="fetusDetail.test[0].nt" vtype="float" />/<input vtype="float" class="mini-textbox ntcrtext" name="fetusDetail.test[0].crl" /></td>
                                        <th>鼻骨</th>
                                        <td><input name="fetusDetail.test[0].isNasal" class="mini-radiobuttonlist" data="[{id: 1, text: '有'}, {id: 2, text: '无'}]" /></td>
                                        <th>胎盘位置</th>
                                        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail.test[0].siteId" /> </td>
                                        <th>B超异常</th>
                                        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail.test[0].bAbnormalId"/> </td>
                                        <th>备注</th>
                                        <td><input name="fetusDetail.test[0].fetusRemark" class="mini-textbox" ></input></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="duotaitabs" class="mini-tabs" activeIndex="0" style="width:100%;min-height:200px;" plain="false" buttons="#duotaiButtons">
                    <div title="第1次检查">
                        <table>
                            <tr>
                                <th>日期</th>
                                <td><input class="mini-datepicker" name="fetusDetail.test1[0].inspectionTime" allowInput="false"/></td>
                                <th>孕周</th>
                                <td><input class="mini-textbox" vtype="int" name="fetusDetail.test1[0].gestWeeks" width="60px"/>W<input vtype="int" class="mini-textbox" name="fetusDetail.test1[0].gestDays" width="60px"/>D</td>
                                <th>检查医院</th>
                                <td><input class="mini-textbox" name="fetusDetail.test1[0].inspectionHospital" /></td>
                            </tr>
                            <tr>
                                <td colspan="6">
                                    <div class="tab1conten" style="width: 100%;height: 200px; overflow: auto  ;">

                                        <table>
                                            <tr>
                                                <td style="text-align: center;" colspan="4">
                                                    <div class="biaozhulogo" style="display: inline-flex;">f1</div>
                                                </td>
                                            </tr>
                                            <tr>
                                                <th>BPD</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].bpd" width="80%" />mm</td>
                                                <th>EFW</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].efw" width="80%" />g</td>
                                            </tr>
                                            <tr>
                                                <th>HC</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].crl" width="80%" />mm</td>
                                                <th>AFI</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].afi" width="80%" />mm</td>
                                            </tr>
                                            <tr>
                                                <th>AC</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].ac" width="80%" />mm</td>
                                                <th>AFV</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].afv" width="80%" />mm</td>

                                            </tr>
                                            <tr>
                                                <th>FL</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].fl" width="80%" />mm</td>
                                                <th>血流</th>
                                                <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[0].ctest[0].bloodFlow" width="80%" /></td>


                                            </tr>
                                            <tr>
                                                <th>胎盘位置</th>
                                                <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" width="80%"  valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail.test1[0].ctest[0].siteId"
                                                /> </td>
                                                <th>脐带插入</th>
                                                <td><input class="mini-textbox" width="80%"  name="fetusDetail.test1[0].ctest[0].umbilicalInsertion" /></td>
                                            </tr>
                                            <tr>
                                                <th>B超异常</th>
                                                <td><input class="mini-combobox txk-dict" multiSelect='true' width="80%"  style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail.test1[0].ctest[0].bAbnormalId"
                                                /> </td>
                                                <th>备注</th>
                                                <td><textarea class="mini-textarea"  width="80%" name="fetusDetail.test1[0].ctest[0].fetusDetailRemark"></textarea></td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div id="duotaiButtons">
                    <a id="toggleBtn2" class="mini-button" iconCls="" onclick="insertduotaitab()">新增</a>
                </div>
            </div>
            <div style="display: flex;justify-content: center;">
                <a class="mini-button ddtqueding" onclick="closeduotai()">确定</a>
            </div>
        </div>
    </div>
</form>
<div class="tanchuang" style="display: none;">
    <div class="BLZL">
        <div class="BLZLtitle">
            <div class="BLZLname">病例资料</div>
            <div class="closeduotaidiv" onclick="closeBLZL()">X</div>
        </div>
        <div class="BLZLconten">
            <div class="mini-fit" style="width: 100%;">
                <div id="files_grid" class="mini-datagrid" style="width:100%;height:100%;" showPager='false'>
                    <div property="columns">
                        <div field="fileName" headerAlign="center" align="center" allowSort="false" renderer="onActionRenderer">文件名称</div>
                        <div field="fileSize" headerAlign="center" align="center" allowSort="false">文件大小(kb)</div>
                        <div field="fileUpTime" width="120" headerAlign="center" align="center" allowSort="false" dateFormat="yyyy-MM-dd">上传时间</div>
                        <div field="fileDownloadNo" headerAlign="center" align="center" allowSort="false">下载次数</div>
                        <!--                            <div field="fileRemark" headerAlign="center" align="center" allowSort="false">文件备注</div>-->
                        <div field="upUserName" headerAlign="center" align="center" allowSort="false">上传人</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>

</html>
<!-- 新增现存孩 -->
<script id="demo" type="text/x-jquery-tmpl" data-site="remote">
    <div class="xchxx">
        <div class="dropschtab" onclick="dropschtab(this)">X</div>
        <table>
            <tr>
                <input name='childId' style="display:none" class="mini-textbox" value="${childId}" />
                <th>性别：</th>
                <td><input name="gender" class="mini-radiobuttonlist" data="[{id: 'm', text: '男'}, {id: 'f', text: '女'}]" value="${childSex}" /></td>
            </tr>
            <tr>
                <th>年龄：</th>
                <td><input name='age'  vtype="float"  class="mini-textbox" value="${childAge}" />年<input name='childAgeMonth'  vtype="float"  class="mini-textbox" value="${childAgeMonth}" />月</td>
            </tr>
            <tr>
                <th>备注：</th>
                <td><textarea style="width: 80%;" class="mini-textarea" name="beizhu" cols="30" rows="5" value="${childRemark}"></textarea></td>
            </tr>
        </table>
    </div>
</script>

<!-- 右侧菜单里的用户模板 -->
<script id="user" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user ${isValid}" onclick="rightuserclick(this)">
        <span class="thisuserid" hidden>${user.patientId}</span>
        <span class="thishisid" hidden>${user.hisId}</span>
        <img src="../img/userimg.png">
        <p><span class="patientName">${user.patientName}</sapn> 【${user.cardCode}】<br/><span class="patientCardId">${user.patientCardId}<span class="patientName">
        </p>
    </div>
    {%/each%}
</script>
<!-- 右侧菜单里的历史用户模板 -->
<script id="lishiuser" type="text/x-jquery-tmpl" data-site="">
    {%each(i,user) data%}
    <div class="user  ${isValid}" onclick="rightlishiuserclick(this)">
        <span class="thisuserid" hidden>${user.diacrisisId}</span>
            <img src="../img/userimg.png">
            <p>${user.patientName} 【${user.cardNo}】<br/>${user.patientCardId}
            </p>
    </div>
    {%/each%}
</script>
<!-- 单胎新增检查次数模板 -->
<script id="jianchatab" type="text/x-jquery-tmpl" data-site="">
    <table style="width: 100%;">
        <tr>
            <th>日期</th>
            <td><input class="mini-textbox" style="display: none;" name="fetusDetail[${index}].fetusDetailId" />
                <input class="mini-datepicker" name="fetusDetail[${index}].inspectionTime" allowInput="false"/></td>
            <th>孕周</th>
            <td><input class="mini-textbox" vtype="int" name="fetusDetail[${index}].gestWeeks" width="60px"/>W <input class="mini-textbox" vtype="int" name="fetusDetail[${index}].gestDays" width="60px"/>D</td>
            <th>检查医院</th>
            <td><input class="mini-textbox" name="fetusDetail[${index}].inspectionHospital" /></td>
        </tr>
        <tr>
            <th>BPD</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].bpd" />mm</td>
            <th>EFW</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].efw" />g</td>
            <th>HC</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].crl" />mm</td>
        </tr>
        <tr>
            <th>AC</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].ac" />mm</td>
            <th>AFV</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].afv" />mm</td>
            <th>FL</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].fl" />mm</td>
        </tr>
        <tr>
            <th>血流</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail[${index}].bloodFlow" /></td>
            <th>胎盘位置</th>
            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail[${index}].siteId" /> </td>
            <th>B超异常</th>
            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail[${index}].bAbnormalId" multiSelect='true' /> </td>
        </tr>
        <tr>
            <th>备注</th>
            <td colspan="5"><textarea class="mini-textarea" style="width: 87%;" name="fetusDetail[${index}].fetusDetailRemark"></textarea></td>
        </tr>
    </table>
</script>
<!-- 多胎基本信息新增 -->
<script id="duotaitab1" type="text/x-jquery-tmpl" data-site="">
    <tr>
        <th>
            <input class="mini-textbox" style="display: none;" name="fetusDetail.test[${inde}].fetusId" />
            <div class="biaozhulogo">f${indexs}</div>/CRL(cm)</th>
        <td><input class="mini-textbox ntcrtext" name="fetusDetail.test[${inde}].nt" vtype="float" />/<input vtype="float" class="mini-textbox ntcrtext" name="fetusDetail.test[${inde}].crl" /></td>
        <th>鼻骨</th>
        <td><input name="fetusDetail.test[${inde}].isNasal" class="mini-radiobuttonlist" data="[{id: 1, text: '有'}, {id: 2, text: '无'}]" /></td>
        <th>胎盘位置</th>
        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail.test[${inde}].siteId" /> </td>
        <th>B超异常</th>
        <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail.test[${inde}].bAbnormalId" /></td>
        <th>备注</th>
        <td><input name="fetusDetail.test[${inde}].fetusRemark" class="mini-textbox" ></input></td>
        <td><span class="delduotai" onclick="delduotai(this)">X</span></td>
    </tr>
</script>
<!-- 新增多胎后检查次数关联新增 -->
<script id="duotaitab2" type="text/x-jquery-tmpl" data-site="">
    <table>
        <tr>
            <td style="text-align: center;" colspan="4">
                <div class="biaozhulogo" style="display: inline-flex;">f${index}</div>
            </td>
        </tr>
        <tr>
            <th>BPD</th>
            <input class="mini-textbox" style="display: none;" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].fetusDetailId" />
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].bpd" width="80%" />mm</td>
            <th>EFW</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].efw" width="80%" />g</td>

        </tr>
        <tr>
            <th>HC</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].crl" width="80%" />mm</td>
            <th>AFI</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].afi" width="80%" />mm</td>
        </tr>
        <tr>
            <th>AC</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].ac" width="80%" />mm</td>
            <th>AFV</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].afv" width="80%" />mm</td>

        </tr>
        <tr>
            <th>FL</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].fl" width="80%" />mm</td>
            <th>血流</th>
            <td><input class="mini-textbox" vtype="float" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].bloodFlow" /></td>
        </tr>
        <tr>
            <th width="80px">胎盘位置</th>
            <td><input class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_SITE" showNullItem="true"  name="fetusDetail.test1[${tabindex}].ctest[${taishu}].siteId" /> </td>
            <th>脐带插入</th>
            <td><input class="mini-textbox" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].umbilicalInsertion" /></td>
        </tr>
        <tr>
            <th>B超异常</th>
            <td><input multiSelect='true'  class="mini-combobox txk-dict" style="width:150px;" textField="text" valueField="id" emptyText="请选择" dict="CQ_BASE_B_ABNORMAL" showNullItem="true"  name="fetusDetail.test1[${tabindex}].ctest[${taishu}].bAbnormalId"
                /> </td>
            </tr>
        <tr>
            <th>备注</th>
            <td colspan='3'><textarea class="mini-textarea" style="width:90%" name="fetusDetail.test1[${tabindex}].ctest[${taishu}].fetusDetailRemark"></textarea></td>
        </tr>
    </table>
</script>
<!-- 多胎新增检查次数 -->
<script id="duotaitab3" type="text/x-jquery-tmpl" data-site="">
    <div title="第1次检查">
        <table>
            <tr>
                <th>日期</th>
                <td><input class="mini-datepicker" name="fetusDetail.test1[${index}].inspectionTime" allowInput="false" /></td>
                <th>孕周</th>
                <td><input class="mini-textbox" vtype="int" name="fetusDetail.test1[${index}].gestWeeks" />W<input class="mini-textbox" vtype="int" name="fetusDetail.test1[${index}].gestDays" />D</td>
                <th>检查医院</th>
                <td><input class="mini-textbox" name="fetusDetail.test1[${index}].inspectionHospital" /></td>
            </tr>
            <tr>
                <td colspan="6">
                    <div class="tab1conten" style="width: 100%;max-height: 250px; overflow: auto  ;">
                    </div>
                </td>
            </tr>
        </table>
    </div>
</script>

<script id="WJCX" type="text/x-jquery-tmpl" data-site="">
    <div style="height: 100%;text-align: center;">
        <img src="${url}" style="text-align: center;" height="100%" />
    </div>
</script>
<script src="../js/data.js"></script>
<script src="../js/zdxxglNew.js"></script>